import request from '@/utils/request'

// 查询群发文件公告列表
export function listGroupfiles1(query) {
  return request({
    url: '/system/groupfiles1/list',
    method: 'get',
    params: query
  })
}

// 查询群发文件公告详细
export function getGroupfiles1(id) {
  return request({
    url: '/system/groupfiles1/' + id,
    method: 'get'
  })
}

// 新增群发文件公告
export function addGroupfiles1(data) {
  return request({
    url: '/system/groupfiles1',
    method: 'post',
    data: data
  })
}

// 修改群发文件公告
export function updateGroupfiles1(data) {
  return request({
    url: '/system/groupfiles1',
    method: 'put',
    data: data
  })
}

// 删除群发文件公告
export function delGroupfiles1(id) {
  return request({
    url: '/system/groupfiles1/' + id,
    method: 'delete'
  })
}
